<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>object</title>
</head>
<body>
<button onclick="funcObject()">点我一下</button>
</body>
<script>
    function funcObject() {
        var a = new String("聂茹风")
        var b = new Number(12)
        var c = BigInt(123)
        var d = new Boolean(true)

        console.log(a + ":" + typeof (a))
        console.log(a)
        console.log(b + ":" + typeof (b))
        console.log(b)
        console.log(c + ":" + typeof (c))
        console.log(c)
        console.log(d + ":" + typeof (d))
        console.log(d)
    }
</script>
</html>